 /* 整体样式 */
 body {
   font-family: Arial, sans-serif;
   background-color: #f2f2f2;
   margin: 0;
   padding: 0;
 }

 /* TodoList 容器 */
 .todo-list {
   max-width: 600px;
   margin: 50px auto;
   background-color: white;
   padding: 20px;
   border-radius: 5px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 /* 标题样式 */
 .todo-list h1 {
   text-align: center;
   margin-bottom: 20px;
 }

 /* 输入框和按钮样式 */
 .todo-list .content {
   display: flex;
   margin-bottom: 20px;
 }

 .todo-list input[type="text"] {
   flex-grow: 1;
   padding: 10px;
   border: 1px solid #ccc;
   border-radius: 3px;
   font-size: 16px;
 }

 .todo-list button {
   background-color: #4CAF50;
   color: white;
   border: none;
   padding: 10px 20px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 16px;
   margin-left: 10px;
   cursor: pointer;
   border-radius: 3px;
 }

 /* 待办事项列表样式 */
 .todo-list ul {
   list-style-type: none;
   padding: 0;
 }

 .todo-list li {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 10px 0;
   border-bottom: 1px solid #f2f2f2;
 }

 .todo-list li button {
   background-color: #f44336;
   color: white;
   border: none;
   padding: 5px 10px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 14px;
   cursor: pointer;
   border-radius: 3px;
 }